package com.cntcdt.api.service;

import java.util.List;

import com.cntcdt.api.db.model.AdminUserGroupModel;

public interface AdminUserGroupService {

	public int insertModel(AdminUserGroupModel adminUserGroup);

	public AdminUserGroupModel findById(Integer id);

	public boolean updateModel(AdminUserGroupModel adminUserGroup);

	public List<AdminUserGroupModel> findAllGroupByLast20();
	
	public AdminUserGroupModel findByGroupName(String groupName);
}
